﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static _69_C_实现回调函数.Program;

namespace _69_C_实现回调函数
{
    internal class Student
    {
        public static void GetName(MyCallback myCallBack)
        {
            string name = "张三";
            //业务逻辑计算结果
            Console.WriteLine("学生名称"+ name);

            myCallBack(name);

        }
    }
}
